package com.hzw.saas.service.schedule.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hzw.saas.common.config.model.BaseLogicModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 日程会议信息表
 */
@ApiModel(value = "日程会议信息表")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "tb_user_schedule_meeting")
public class UserScheduleMeeting extends BaseLogicModel {
    private static final long serialVersionUID = -1976175113069603430L;
    /**
     * 会议议题
     */
    @TableField(value = "meeting_title")
    @ApiModelProperty(value = "会议议题")
    private String meetingTitle;

    /**
     * 会议内容/介绍
     */
    @TableField(value = "meeting_content")
    @ApiModelProperty(value = "会议内容/介绍")
    private String meetingContent;

    /**
     * 会议房间
     */
    @TableField(value = "meeting_room")
    @ApiModelProperty(value = "会议房间")
    private String meetingRoom;

    /**
     * 会议号
     */
    @TableField(value = "meeting_num")
    @ApiModelProperty(value = "会议号")
    private String meetingNum;

    /**
     * 会议类型 1:线上 2:线下 3:线上+线下
     */
    @TableField(value = "meeting_type")
    @ApiModelProperty(value = "会议类型 1:线上 2:线下 3:线上+线下")
    private Integer meetingType;

    @TableField(value = "due_date")
    @ApiModelProperty(value = "最近一次提醒日期")
    private LocalDateTime dueDate;

    @TableField(value = "repeat_flag")
    @ApiModelProperty(value = "提醒规则 rrule")
    private String repeatFlag;

    @TableField(value = "skip_weekend")
    @ApiModelProperty(value = "是否跳过节假日 0:否 1:是")
    private Integer skipWeekend;

    @TableField(value = "ahead_time")
    @ApiModelProperty(value = "提醒提前量")
    private String aheadTime;

    @TableField(value = "start_time")
    @ApiModelProperty(value = "时间段 开始时间")
    private LocalDateTime startTime;

    @TableField(value = "end_time")
    @ApiModelProperty(value = "时间段 结束时间")
    private LocalDateTime endTime;

    /**
     * 排序
     */
    @TableField(value = "sort_order")
    @ApiModelProperty(value = "排序")
    private Long sortOrder;
}